package net.zjitc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @auther 郭梦婷
 * @create 2022-05-25 11:37:55
 * @describe 实体类
 */
@TableName("manager")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="Manager对象", description="")
@Data
public class Manager implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "管理员姓名")
    @TableField("mgname")
    private String mgname;

    @ApiModelProperty(value = "管理员身份证")
    @TableField("mgidcard")
    private String mgidcard;

    @ApiModelProperty(value = "管理员头像")
    @TableField("mgpic")
    private String mgpic;

    @ApiModelProperty(value = "管理员邮箱")
    @TableField("mgemail")
    private String mgemail;

    @ApiModelProperty(value = "管理员电话")
    @TableField("mgphone")
    private String mgphone;

    @ApiModelProperty(value = "管理员性别")
    @TableField("mgsex")
    private String mgsex;

    @ApiModelProperty(value = "管理员年龄")
    @TableField("mgage")
    private Integer mgage;

    @ApiModelProperty(value = "添加时间")
    @TableField("addtime")
    private Date addtime;

    @ApiModelProperty(value = "管理员账号")
    @TableField("mgusername")
    private String mgusername;

    @ApiModelProperty(value = "管理员密码")
    @TableField("mgpassword")
    private String mgpassword;



}